package com.miracle.java2110.service;

import com.miracle.java2110.common.PageVo;
import com.miracle.java2110.common.R;
import com.miracle.java2110.pojo.Vacation;

import java.util.List;
import java.util.Map;

public interface VacationService {
    // 根据假单编号删除请假信息
    R deleteById(Integer id);

    // 添加请假信息
    R addVacation(Vacation vacation);

    PageVo<Vacation> getPageData(Map<String, Object> params);


    List<Vacation> findVacation();

    R updateById(Vacation vacation);

}
